[INFO] cloning repository https://github.com/AlfnXd/get_window_rect_rs
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AlfnXd/get_window_rect_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlfnXd%2Fget_window_rect_rs", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlfnXd%2Fget_window_rect_rs'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 51aca2ee068c6247ce85b4e31142c1f11769c7a9
[INFO] building AlfnXd/get_window_rect_rs against master#ff34b919075f35a1787659e9c448a34b06bab8de for issue-85264
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAlfnXd%2Fget_window_rect_rs" "/workspace/builds/worker-1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/AlfnXd/get_window_rect_rs on toolchain ff34b919075f35a1787659e9c448a34b06bab8de
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/AlfnXd/get_window_rect_rs
[INFO] finished tweaking git repo https://github.com/AlfnXd/get_window_rect_rs
[INFO] tweaked toml for git repo https://github.com/AlfnXd/get_window_rect_rs written to /workspace/builds/worker-1/source/Cargo.toml
[INFO] crate git repo https://github.com/AlfnXd/get_window_rect_rs already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] bac26492cdafde536e03b482b331c5db39fe64de6fd4d0d734f37a6e8b9ae461
[INFO] running `Command { std: "docker" "start" "-a" "bac26492cdafde536e03b482b331c5db39fe64de6fd4d0d734f37a6e8b9ae461", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bac26492cdafde536e03b482b331c5db39fe64de6fd4d0d734f37a6e8b9ae461", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bac26492cdafde536e03b482b331c5db39fe64de6fd4d0d734f37a6e8b9ae461", kill_on_drop: false }`
[INFO] [stdout] bac26492cdafde536e03b482b331c5db39fe64de6fd4d0d734f37a6e8b9ae461
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+ff34b919075f35a1787659e9c448a34b06bab8de" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] 78db331e3fa425b1ee871d75ee3c4fd19ae1fdba19eb3abee7e2e529e1a466e6
[INFO] running `Command { std: "docker" "start" "-a" "78db331e3fa425b1ee871d75ee3c4fd19ae1fdba19eb3abee7e2e529e1a466e6", kill_on_drop: false }`
[INFO] [stderr]    Compiling winapi v0.3.6
[INFO] [stderr]    Compiling win32api_test v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::shared::minwindef::{DWORD, LPVOID};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::shared::windef::{HWND, LPRECT, RECT};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> src/main.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use winapi::shared::winerror::SUCCEEDED;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::um::dwmapi::{DwmGetWindowAttribute, DWMWA_EXTENDED_FRAME_BOUNDS};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::um::winnt::{LPWSTR, WCHAR};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::um::winuser::{GetWindowRect, GetWindowTextLengthW, GetWindowTextW};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stdout]   --> src/main.rs:41:11
[INFO] [stdout]    |
[INFO] [stdout] 41 | impl From<RECT> for PrettyPrintRect {
[INFO] [stdout]    |     -     ^^^^ not found in this scope
[INFO] [stdout]    |     |
[INFO] [stdout]    |     help: you might be missing a type parameter: `<RECT>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stdout]   --> src/main.rs:42:19
[INFO] [stdout]    |
[INFO] [stdout] 42 |     fn from(rect: RECT) -> Self {
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stdout]   --> src/main.rs:53:19
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let mut rect: RECT = RECT {
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stdout]   --> src/main.rs:53:26
[INFO] [stdout]    |
[INFO] [stdout] 53 |     let mut rect: RECT = RECT {
[INFO] [stdout]    |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DwmGetWindowAttribute` in this scope
[INFO] [stdout]   --> src/main.rs:60:9
[INFO] [stdout]    |
[INFO] [stdout] 60 |         DwmGetWindowAttribute(
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 61 |             hwnd as HWND,
[INFO] [stdout]    |                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `DWMWA_EXTENDED_FRAME_BOUNDS` in this scope
[INFO] [stdout]   --> src/main.rs:62:13
[INFO] [stdout]    |
[INFO] [stdout] 62 |             DWMWA_EXTENDED_FRAME_BOUNDS,
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stdout]   --> src/main.rs:63:31
[INFO] [stdout]    |
[INFO] [stdout] 63 |             &mut rect as *mut RECT as LPVOID,
[INFO] [stdout]    |                               ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope
[INFO] [stdout]   --> src/main.rs:63:39
[INFO] [stdout]    |
[INFO] [stdout] 63 |             &mut rect as *mut RECT as LPVOID,
[INFO] [stdout]    |                                       ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stdout]   --> src/main.rs:64:28
[INFO] [stdout]    |
[INFO] [stdout] 52 | fn dwm_get_window_rect(hwnd: i32) -> Result<PrettyPrintRect, Error> {
[INFO] [stdout]    |                       - help: you might be missing a type parameter: `<RECT>`
[INFO] [stdout] ...
[INFO] [stdout] 64 |             mem::size_of::<RECT>() as DWORD,
[INFO] [stdout]    |                            ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope
[INFO] [stdout]   --> src/main.rs:64:39
[INFO] [stdout]    |
[INFO] [stdout] 64 |             mem::size_of::<RECT>() as DWORD,
[INFO] [stdout]    |                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SUCCEEDED` in this scope
[INFO] [stdout]   --> src/main.rs:67:8
[INFO] [stdout]    |
[INFO] [stdout] 67 |     if SUCCEEDED(ret) {
[INFO] [stdout]    |        ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `RECT` in this scope
[INFO] [stdout]   --> src/main.rs:75:19
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let mut rect: RECT = RECT {
[INFO] [stdout]    |                   ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0422]: cannot find struct, variant or union type `RECT` in this scope
[INFO] [stdout]   --> src/main.rs:75:26
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let mut rect: RECT = RECT {
[INFO] [stdout]    |                          ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowRect` in this scope
[INFO] [stdout]   --> src/main.rs:81:24
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) };
[INFO] [stdout]    |                        ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:81:46
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) };
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPRECT` in this scope
[INFO] [stdout]   --> src/main.rs:81:65
[INFO] [stdout]    |
[INFO] [stdout] 81 |     let ret = unsafe { GetWindowRect(hwnd as HWND, &mut rect as LPRECT) };
[INFO] [stdout]    |                                                                 ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextLengthW` in this scope
[INFO] [stdout]   --> src/main.rs:91:24
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let text_len = GetWindowTextLengthW(hwnd as HWND);
[INFO] [stdout]    |                        ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:91:53
[INFO] [stdout]    |
[INFO] [stdout] 91 |         let text_len = GetWindowTextLengthW(hwnd as HWND);
[INFO] [stdout]    |                                                     ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WCHAR` in this scope
[INFO] [stdout]   --> src/main.rs:95:31
[INFO] [stdout]    |
[INFO] [stdout] 89 | fn get_window_title_text(hwnd: i32) -> Result<String, Error> {
[INFO] [stdout]    |                         - help: you might be missing a type parameter: `<WCHAR>`
[INFO] [stdout] ...
[INFO] [stdout] 95 |             let mut wide: Vec<WCHAR> = Vec::with_capacity(max_size);
[INFO] [stdout]    |                               ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetWindowTextW` in this scope
[INFO] [stdout]   --> src/main.rs:97:23
[INFO] [stdout]    |
[INFO] [stdout] 97 |             let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32);
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HWND` in this scope
[INFO] [stdout]   --> src/main.rs:97:46
[INFO] [stdout]    |
[INFO] [stdout] 97 |             let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32);
[INFO] [stdout]    |                                              ^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `LPWSTR` in this scope
[INFO] [stdout]   --> src/main.rs:97:69
[INFO] [stdout]    |
[INFO] [stdout] 97 |             let ret = GetWindowTextW(hwnd as HWND, wide.as_ptr() as LPWSTR, max_size as i32);
[INFO] [stdout]    |                                                                     ^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 29 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `win32api_test`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "78db331e3fa425b1ee871d75ee3c4fd19ae1fdba19eb3abee7e2e529e1a466e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "78db331e3fa425b1ee871d75ee3c4fd19ae1fdba19eb3abee7e2e529e1a466e6", kill_on_drop: false }`
[INFO] [stdout] 78db331e3fa425b1ee871d75ee3c4fd19ae1fdba19eb3abee7e2e529e1a466e6
